package cn.neuedu.his.service;

import cn.neuedu.his.model.PaymentType;
import cn.neuedu.his.util.inter.Service;
import org.omg.PortableInterceptor.INACTIVE;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by ccm on 2019/05/24.
 */
public interface PaymentTypeService extends Service<PaymentType> {
    PaymentType getPaymentTypeByName(String paymentTypeName);

    Integer getTotalPaymentType(Integer typeId);

    ArrayList<PaymentType> findAllNotDelete();

    void insertPaymentType(PaymentType paymentType) throws RuntimeException;//插入结算类型

    void deletePaymentType(Integer id) throws RuntimeException;//删除结算类型'

    void modifyPaymentType(PaymentType paymentType) throws RuntimeException;//修改结算类型

    ArrayList<PaymentType> getSmallPaymentType();

    List<PaymentType> getByTypeId(Integer typeId);
}
